package com.ld.security.server.admin.modules.ge.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ld.security.common.core.base.column.ListJson;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.constant.SqlCondition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@TableName("ge_view_tel")
@ApiModel("抽象视图")
@Data
public class GeViewTelEntity extends GeScopeEntity
{

    @SqlKey(SqlCondition.like)
    @ApiModelProperty("标题")
    private String label;

    @ApiModelProperty("模板代码")
    private String templateCode;

    @ApiModelProperty("模型变量")
    private ListJson modelArgs;

    @ApiModelProperty("视图变量")
    private ListJson viewArgs;

    @SqlKey(SqlCondition.eq)
    @ApiModelProperty("文件类型")
    private String fileType;

    @SqlKey
    @ApiModelProperty("名称后缀")
    private String nameSuffix;

    @SqlKey
    @ApiModelProperty("名称前缀")
    private String namePrefix;

    @ApiModelProperty("模板文件")
    private String templateFile;

    @SqlKey(SqlCondition.like)
    @ApiModelProperty("包名")
    private String packageName;

    @ApiModelProperty("封面")
    private String picture;


    @ApiModelProperty("编码")
    @SqlKey(SqlCondition.like)
    private String code;




    @SqlKey(SqlCondition.eq)
    @ApiModelProperty("可预览")
    private Boolean preview;




}
